namespace StudentApi.Interfaces;

public interface IRepository<T>
{
    Task<List<T>> GetAllAsync();
    Task<T?> GetByIdAsync(Guid id);
    Task<T> AddAsync(T entiyt);
    Task<T> EditAsync(T entity);
    Task<T> DelAsync(T entity);
}